﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="MessageBoard_View.aspx.cs" Inherits="TimKen.Web.Admin.MessageBoard.MessageBoard_View" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
    <span class="action-span"><a href="MessageBoard_List.aspx">
        <%=GetLangString("MessageManage")%>
    </a></span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
    <%=GetLangString("MessageInfo")%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="list-div" style="margin-bottom: 5px">
        <table width="100%" cellpadding="3" cellspacing="1">
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Title")%>：</strong></div>
                </td>
                <td colspan="3">
                    <%=message.Title%>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td colspan="3">
                    <asp:CheckBox ID="chkIsDisplay" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("UserName")%>：</strong></div>
                </td>
                <td>
                    <%=message.UserName%>&nbsp;
                </td>
                <td>
                    <div align="right">
                        <strong>E-mail：</strong></div>
                </td>
                <td>
                    <%=message.Email%>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Company")%>：</strong></div>
                </td>
                <td colspan="3">
                    <%=message.Company%>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Address")%>：</strong></div>
                </td>
                <td colspan="3">
                    <%=message.Address%>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Area")%>：</strong></div>
                </td>
                <td>
                    <%=message.State%>
                    ---<%=message.City%>
                </td>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("MessageCreateDate2")%>：</strong></div>
                </td>
                <td>
                    <%=message.CreateDate%>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("AddressCode")%>：</strong></div>
                </td>
                <td>
                    <%=message.PostalCode%>&nbsp;
                </td>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Telephone")%>：</strong></div>
                </td>
                <td>
                    <%=message.Phone%>&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("Fax")%>：</strong></div>
                </td>
                <td>
                    <%=message.Fax%>&nbsp;
                </td>
                <td>
                    <div align="right">
                        <strong>IP：</strong></div>
                </td>
                <td>
                    <%=message.IP%>&nbsp;
                </td>
            </tr>
            <tr>
                <td width="100%" colspan="4">
                    <div align="center">
                        <strong>
                            <%=GetLangString("Content")%>：</strong></div>
                </td>
            </tr>
            <tr>
                <td width="100%" colspan="4">
                    <asp:TextBox ID="txtComments" TextMode="MultiLine" runat="server" Width="95%" Height="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("ReplierID")%>：</strong></div>
                </td>
                <td>
                    <%=message.ReplierID%>&nbsp;
                </td>
                <td>
                    <div align="right">
                        <strong>
                            <%=GetLangString("ReplyDate")%>：</strong></div>
                </td>
                <td>
                    <%=message.ReplyDate%>&nbsp;
                </td>
            </tr>
            <tr>
                <td width="100%" colspan="4">
                    <div align="center">
                        <strong>
                            <%=GetLangString("ReplyContent")%>：</strong></div>
                </td>
            </tr>
            <tr>
                <td width="100%" colspan="4">
                    <asp:TextBox ID="txtReplyContent" TextMode="MultiLine" runat="server" Width="95%"
                        Height="300px"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    <div class="list-div" style="margin-bottom: 5px">
        <table cellpadding="3" cellspacing="1">
            <tr>
                <td>
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" CssClass="button" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
